package top.ibase4j.core.util;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * 上传辅助类 与Spring.multipartResolver冲突
 *
 * @author ShenHuaJie
 */
public final class UploadPathUtil {
    private UploadPathUtil() {
    }
    private static final Logger logger = LogManager.getLogger();

    public static final String getUploadOpenFileRoot(){
        return PropertiesUtil.getString("upload.local.openfile.root");
    }

    public static final String getUploadCheckFileRoot(){
        return PropertiesUtil.getString("upload.local.checkfile.root");
    }

    public static final String getUploadViewUri(){
        return PropertiesUtil.getString("ui.file.uri.prefix");
    }

}
